<?php
$userid = islogin('ajax');
$oCart = new Cart();
exit($oCart->get_cart_num($userid));
?>